/**
 * Created by Administrator on 2019/5/29.
 */

function jc(z) {
    if (z == 1) {
        return 1;
    } else {
        return z *jc(z - 1);
    }
}console.log(jc(5))